package com.genghis.ptas.posts.service;

import com.genghis.core.page.entity.Page;
import com.genghis.core.page.entity.PageParameter;
import com.genghis.ptas.posts.entity.Posts;

/**
 * Created with IntelliJ IDEA.
 * User: yutong
 * Date: 14-4-22
 * Time: 下午8:16
 * To change this template use File | Settings | File Templates.
 */
public interface PostsService {

     void addPosts(Posts posts);

    Page<Posts> findPostsPageList(PageParameter pageParameter,Posts posts);

    Posts findPostById(int id);

    void delPosts(String[] postsIds);
}
